package com.tfjybj.itoo.teach.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * FooGroup树形结构
 *
 * @author 段恩刚
 * @version 1.0.0
 * @since 1.0.0 2018-11-24 15:30:36
 */
@ApiModel(value = "FooGroupModelTree:树形结构")
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
public class FooGroupTreeModel {
    /**
     * id
     */
    @ApiModelProperty(value = "主键id", required = true)
    private String id;
    /**
     * 节点名称
     */
    @ApiModelProperty(value = "节点名称", required = true)
    private String name;
    /**
     * 父节点
     */
    @ApiModelProperty(value = "父节点", required = true)
    private String parentId;
    /**
     * 开启状态
     */
    @ApiModelProperty(value = "开启状态", required = true)
    private boolean open;

    /**
     * 节点的级别
     */
    @ApiModelProperty(value = "类型", required = true)
    private String type;


}
